<template>
  <div class="basic-layout">
    <!-- 顶部导航栏 -->
    <GlobalHeader />
    <!-- 主要内容区域 -->
    <main class="main-content">
      <router-view />
    </main>
    <!-- 底部版权信息 -->
    <GlobalFooter />
  </div>
</template>

<script setup lang="ts">
import GlobalHeader from '@/components/GlobalHeader.vue'
import GlobalFooter from '@/components/GlobalFooter.vue'
</script>

<style scoped>
.basic-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.main-content {
  flex: 1;
  width: 100%;
  padding: 0;
  background: transparent;
  margin: 0;
  padding-top: 64px; /* 为固定顶栏留出空间 */
}
</style>
